﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RealTimeCharts.LineChart
{
    public class Padding
    {
        public int left;
        public int right;
        public int top;
        public int bottom;

        public Padding()
        {
            left = 0;
            right = 0;
            top = 0;
            bottom = 0;
        }

        public Padding(int l, int t, int r, int b)
        {
            left = l;
            top = t;
            right = r;
            bottom = b;
        }
        public Padding(Padding p)
        {
            left = p.left;
            right = p.right;
            top = p.top;
            bottom = p.bottom;
        }

        public Padding Clone()
        {
            return new Padding(this);
        }

        public void Copy(Padding p)
        {
            left = p.left;
            right = p.right;
            top = p.top;
            bottom = p.bottom;
        }
    }
}
